<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link type="text/css" rel="stylesheet" href="${createLinkTo(dir:'css/csslxh',file:'lxh.css')}">
	<script type="text/javascript" src="${createLinkTo(dir:'js',file:'lxh.js')}"></script>
</head>

<body>
<form name="myform" action="userRoleSave" method="post">
<input type="hidden" name="menus">

<table align="center" width="500" style="border-left:2px solid orange;border-right:2px solid orange;">
	<tr><td>&nbsp;</td></tr>
	<tr>
		<td>
 			<table align="center" class="tableGray" cellspacing="1" style="width:300px">
				<tr>
					<td bgcolor="#ffffff">
						角色名称：${rolename}
					</td>
				</tr>
				<tr>
					<td bgcolor="#ffffff">
						角色描述：${rolememo}
					</td>
				</tr>
			    
				<%
				def idx = 0;
				def bgcolor = "";
				for(m1 in m1List){
					if( (++idx) % 2 != 0 )
					{
						bgcolor = "#f6f6f6"
					}else
					{
						bgcolor = "";
					}
				%>
				<tr>
					<td bgcolor="${bgcolor}">
						${m1?.menuname}
						<%
						def m2List = m2Map[m1?.id];
						for(m2 in m2List){
						%>
						<br>&nbsp;&nbsp;&nbsp;${m2.menuname}
							<%
							def m3List = m3Map[m2?.id];
							for(m3 in m3List){
							%>
							<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${m3.menuname}
							<%}%>
									
						<%}%>
					</td>
				</tr>
				<%}%>
				
				<tr>
				    <td align="center" bgcolor="#ffffff" style="height:35">
				    	<input type="button" value="<g:message code='lxh.btn.back'/>" class="btnGray" onclick="history.back()">
				    </td>
				</tr>
				
			</table>
	
		</td>
	</tr>
	<tr><td>&nbsp;</td></tr>
</table>


</form>
</body>

</html>